
<g:form action="sendFiveElementsQuickPay" method="post">
    <div class="fieldcontain ${hasErrors(bean: accountBankInstance, field: 'name', 'error')} required">
        <label for="name">
            <g:message code="accountBank.fullName.label" default="Full Name" />
            <span class="required-indicator">*</span>
        </label>
        <g:textField name="name" maxlength="20" required="" value="${accountBankInstance?.fullName}"/>
    </div>
    <div class="fieldcontain ${hasErrors(bean: accountBankInstance, field: 'cellphone', 'error')} required ">
        <label for="cellphone">
            <g:message code="accountBank.cellphone.label"  required="" default="Cellphone" />
            <span class="required-indicator">*</span>
        </label>
        <g:textField name="cellphone"  required=""  />

    </div>

    <div class="fieldcontain ${hasErrors(bean: accountBankInstance, field: 'certificateType', 'error')} ">
        <label for="certificateType">
            <g:message code="accountBank.certificateType.label" default="Certificate Type" />
            <span class="required-indicator">*</span>
        </label>
        <g:select name="certificateType" from="['身份证','护照','军官证','士兵证','回乡证','户口本','外国护照','其他']"  required="" noSelection="['': '']"/>

    </div>

    <div class="fieldcontain ${hasErrors(bean: accountBankInstance, field: 'idCard', 'error')} ">
        <label for="idCard">
            <g:message code="accountBank.idCard.label" default="Id Card" />
            <span class="required-indicator">*</span>
        </label>
        <g:textField name="idCard" maxlength="20" required="" value="${accountBankInstance?.idCard}"/>

    </div>

    <div class="fieldcontain required">
        <label for="bankName">
            <g:message code="bankName" />
            <span class="required-indicator">*</span>
        </label>
        <g:textField name="bankName" maxlength="20" required="" value="${bank?.name}"/>
        <g:hiddenField name="bankCode" value="${bank?.code}"/>
    </div>

    <div class="fieldcontain ${hasErrors(bean: accountBankInstance, field: 'bankCardNo', 'error')} required">
        <label for="bankCardNo">
            <g:message code="accountBank.bankCardNo.label" default="Bank Card No" />
            <span class="required-indicator">*</span>
        </label>
        <g:textField name="bankCardNo" maxlength="20" required="" value="${accountBankInstance?.bankCardNo}"/>

    </div>
    <g:submitButton name="sendVerifyCode" value="发送验证码"/>
</g:form>
